package com.yida.gwj.deposit.domain.request.split;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * @author lqq
 * @date 2023-02-23
 */
@ApiModel("资金分户初始化 业务查询")
public class GwjFundsSplitBusinessQueryRequest implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 业务编号（ywnum）
     */
    @ApiModelProperty("业务编号")
    private Long bizNum;

    /**
     * 当前办理人员
     */
    @ApiModelProperty("当前办理人员")
    private String currentOperName;

    /**
     * 申请人名称（sqren）
     */
    @ApiModelProperty("申请人名称")
    private String applicantName;

    /**
     * 业务名称
     */
    @ApiModelProperty("业务名称")
    private String bizName;

    /**
     * 申请时间（applytime）
     */
    @ApiModelProperty("申请时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date applicantTime;

    @ApiModelProperty("地区ID")
    @NotNull(message = "请求参数有误[areaId]为空")
    private Long areaId;

    @ApiModelProperty("差额")
    private BigDecimal lackMoney;

    public Long getAreaId() {
        return areaId;
    }

    public void setAreaId(Long areaId) {
        this.areaId = areaId;
    }

    public BigDecimal getLackMoney() {
        return lackMoney;
    }

    public void setLackMoney(BigDecimal lackMoney) {
        this.lackMoney = lackMoney;
    }

    public Long getBizNum() {
        return bizNum;
    }

    public void setBizNum(Long bizNum) {
        this.bizNum = bizNum;
    }

    public String getCurrentOperName() {
        return currentOperName;
    }

    public void setCurrentOperName(String currentOperName) {
        this.currentOperName = currentOperName;
    }

    public String getApplicantName() {
        return applicantName;
    }

    public void setApplicantName(String applicantName) {
        this.applicantName = applicantName;
    }

    public String getBizName() {
        return bizName;
    }

    public void setBizName(String bizName) {
        this.bizName = bizName;
    }

    public Date getApplicantTime() {
        return applicantTime;
    }

    public void setApplicantTime(Date applicantTime) {
        this.applicantTime = applicantTime;
    }

    @Override
    public String toString() {
        final StringBuffer sb = new StringBuffer("GwjFundsSplitBusinessQueryRequest{");
        sb.append("bizNum=").append(bizNum);
        sb.append(", currentOperName='").append(currentOperName).append('\'');
        sb.append(", applicant='").append(applicantName).append('\'');
        sb.append(", bizName='").append(bizName).append('\'');
        sb.append(", applicantTime=").append(applicantTime);
        sb.append(", areaId=").append(areaId);
        sb.append(", lackMoney=").append(lackMoney);
        sb.append('}');
        return sb.toString();
    }
}
